#include "StdAfx.h"
#include "ProgramEnd.h"


ProgramEnd::ProgramEnd(int instructionNumber):ConfigurationState(instructionNumber)
{
}


ProgramEnd::~ProgramEnd(void)
{
}

void ProgramEnd::perform(MillingMachine3C * machine,MillingTool * tool)
{
}

void ProgramEnd::serialize(std::ostream & out)
{
	//ConfigurationState::serialize(out);
	out<<this->lineNumberChar<<this->number<<"M30\n\r";
}
